home *** CD-ROM | disk | FTP | other *** search
/ System Booster / System Booster.iso / Archives / ForCLI / WaitNotify_1_1.readme < prev    next >
Text File  |  1996-09-26  |  3KB  |  80 lines

  1. Short:    Wait for a file or diretory modification
  2. Author:   ukjg@rz.rz.uni-karlsruhe.de (Tobias Ferber)
  3. Uploader: ferber@rpk.mach.uni-karlsruhe.de (Tobias Ferber)
  4. Type:     util/cli
  5.  
  6. WaitNotify                                                         WaitNotify
  7.  
  8.    NAME
  9.         WaitNotify -- Wait for a file or directory modification
  10.  
  11.    SYNOPSIS
  12.         WaitNotify NAME/A/M,QUIET/S,FMT=FORMAT/K
  13.  
  14.    FUNCTION
  15.         WaitNotify posts a notification request on the given files
  16.         or directories.  The command will not return until at least
  17.         one of them has been modified.  For files, it will return
  18.         after the file is closed.
  19.  
  20.         The optional format string will be printed when the file or
  21.         directory changes.  The first "%s" in it will be replaced by
  22.         the name.
  23.  
  24.    INPUTS
  25.         NAME          - name of the files or directories which you want
  26.                         to observe
  27.         QUIET         - suppresses warnings and error messages (but sets
  28.                         the return value to allow later diagnostis
  29.         FORMAT        - string to print on exit.
  30.  
  31.    EXAMPLES
  32.         ;Wait for a change in our startup-sequence
  33.         WaitNotify S:Startup-Sequence
  34.  
  35.         ;Wait for a change in either startup script and report its name
  36.         WaitNotify S:Startup-Sequence S:User-Startup FMT="%s*N"
  37.  
  38.         ;Show the first file which changes via More
  39.         More `WaitNotify S:Startup-Sequence S:User-Startup FMT=%s`
  40.  
  41.    BUGS
  42.         Not all filesystems will support file notification. In particular,
  43.         most network filesystems won't support it.
  44.  
  45.  
  46.    DISCLAIMER
  47.         This file is part of the WaitNotify distribution.
  48.  
  49.         WaitNotify is free software; you can redistribute it and/or modify
  50.         it under the terms of the GNU General Public License as published
  51.         by the Free Software Foundation; either version 1 of the License,
  52.         or (at your option) any later version.
  53.  
  54.         WaitNotify is distributed in the hope that it will be useful,
  55.         but WITHOUT ANY WARRANTY; without even the implied warranty of
  56.         MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  57.         See the GNU General Public License for more details.
  58.  
  59.         You should have received a copy of the GNU General Public License
  60.         along with the program; see the file COPYING.  If not, write to
  61.         the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
  62.  
  63.    COPYRIGHT
  64.         WaitNotify is Copyright (C)1994 by Tobias Ferber.
  65.         You can reach me via E-mail: ukjg@rz.uni-karlsruhe.de
  66.  
  67.  
  68. ============================= Archive contents =============================
  69.  
  70. Original  Packed Ratio    Date     Time    Name
  71. -------- ------- ----- --------- --------  -------------
  72.    12474    4960 60.2% 14-Dec-94 18:43:58  WaitNotify/COPYING
  73.      939     527 43.8% 14-Dec-94 18:43:58  WaitNotify/Distfile
  74.     1077     591 45.1% 14-Dec-94 18:43:58  WaitNotify/DMakefile
  75.    10280    6207 39.6% 14-Dec-94 18:43:58  WaitNotify/WaitNotify
  76.     6360    2358 62.9% 14-Dec-94 18:43:58  WaitNotify/waitnotify.c
  77.     2106    1041 50.5% 14-Dec-94 18:43:58  WaitNotify/WaitNotify.doc
  78. -------- ------- ----- --------- --------
  79.    33236   15684 52.8% 16-Dec-94 00:11:18   6 files
  80.